package com.quanyan.runningriding.service;

import com.quanyan.api.APIResponse;
import com.quanyan.common.Plugin.PageObj;
import com.quanyan.runningriding.entity.db.TbRunMusicType;
import com.quanyan.runningriding.entity.vo.run.req.RunMusicFMVo;
import com.quanyan.runningriding.entity.vo.run.resp.MusicFMVo;

import java.util.List;

/**
 * Created by liubin on 2016/11/23.
 */
public interface RunMusicFMService {

    PageObj<List<TbRunMusicType>> musicFMList(Byte type,String typeName,String describeDetail,Integer pageNum,Integer pageSize);

    APIResponse<?> updateMusicFM(MusicFMVo musicFMVo);

    APIResponse<?> deleteMusicFM(Integer musicId);

    APIResponse<?> insertMusicFM(RunMusicFMVo runMusicFMVo);
}
